// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020-2023. All rights reserved.
 * Description: introduce x86_mce_custom_check for N9000 BBU multi-bit ECC error
 * Author: Lv Ying
 * Create: 2020-03-25
 */

#include <asm/mce.h>
#include <linux/export.h>
#include <linux/miscdevice.h>

int (*x86_mce_custom_check)(struct mce *mce_ptr);
EXPORT_SYMBOL(x86_mce_custom_check);

ATOMIC_NOTIFIER_HEAD(x86_mce_custom_chain);
EXPORT_SYMBOL(x86_mce_custom_chain);
